package com.dxq.oa.service.impl;

import com.dxq.oa.dao.MenuDao;
import com.dxq.oa.entity.Menu;
import com.dxq.oa.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuDao menuDao;
    @Override
    public boolean addmenu(Menu menu) {
        return this.menuDao.insertMenu(menu);
    }
}
